package com.fas.system.domain;

import com.fas.common.annotation.Excel;
import com.fas.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 设备信息对象 fas_equipment
 *
 * @author ruoyi
 * @date 2022-05-05
 */
@ApiModel(value = "设备信息对象")
public class FasEquipment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @ApiModelProperty(value = "序号")
    private Long id;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号",type = Excel.Type.EXPORT)
    private String equipmentNumber;

    /**
     * 所在位置
     */
    @ApiModelProperty(value = "位置描述")
    @Excel(name = "位置描述")
    private String position;

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "预留字段")
    private String corporateName;

    /**
     * 所属公司id
     */
    @ApiModelProperty(value = "所属公司id")
    private Long deptId;

    @ApiModelProperty(value = "建筑公司id")
    @Excel(name = "建筑公司编号",type = Excel.Type.IMPORT)
    private String buildingid;

    @ApiModelProperty(value = "设备状态 0正常 1故障 2离线 3报警 为空则是：未启用4")
    @Excel(name = "设备状态",readConverterExp = "0=正常,1=故障,2=离线,3=报警,null=未启用")
    private Integer status;

    @ApiModelProperty(value = "建筑名称")
    @Excel(name = "建筑名称",type = Excel.Type.EXPORT)
    private String buildingname;

    @ApiModelProperty(value = "建筑地址")
    private String address;

    @ApiModelProperty(value = "部门名称")
    private String deptname;

    @ApiModelProperty(value = "所属系统")
    @Excel(name = "设备所属系统",dictType = "sys_equipment_system")
    private String systemId;
    @ApiModelProperty(value = "厂商名称")
    @Excel(name = "厂商名称")
    private String manufacturerName;
    @ApiModelProperty(value = "设备型号")
    @Excel(name = "设备型号")
    private String deviceModel;

    @ApiModelProperty(value = "设备图片地址")
    private String equipmentPic;

    @ApiModelProperty(value = "楼层")
    @Excel(name = "楼层")
    private Integer floor;

    @ApiModelProperty(value = "设备的参数")
    @Excel(name = "设备的参数",type = Excel.Type.EXPORT)
    private String data;//设备的参数

    @Excel(name = "通信协议")
    private String communicationProtocol;//通信协议
    @Excel(name = "品牌")
    private String brand;//品牌

    // 非表字段
    private Integer cooperationCompanyId; //合作单位id
    private String condition;
    private String province_code;
    private String province_name;
    private String city_code;
    private String city_name;
    private String area_code;
    private String area_name;
    private String way_code;
    private String way_name;

    @Excel(name = "合作单位名称",type = Excel.Type.EXPORT,sort = 0)
    private String companyName; //合作单位名称
    private String systemName; //设备所属系统


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentNumber(String equipmentNumber) {
        this.equipmentNumber = equipmentNumber;
    }

    public String getEquipmentNumber() {
        return equipmentNumber;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getPosition() {
        return position;
    }

    public void setCorporateName(String corporateName) {
        this.corporateName = corporateName;
    }

    public String getCorporateName() {
        return corporateName;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getCondition() {
        return condition;
    }

    public String getBuildingid() {
        return buildingid;
    }

    public void setBuildingid(String buildingid) {
        this.buildingid = buildingid;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getBuildingname() {
        return buildingname;
    }

    public void setBuildingname(String buildingname) {
        this.buildingname = buildingname;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    public String getManufacturerName() {
        return manufacturerName;
    }

    public void setManufacturerName(String manufacturerName) {
        this.manufacturerName = manufacturerName;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

    public void setEquipmentPic(String equipmentPic) {
        this.equipmentPic = equipmentPic;
    }


    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public String getEquipmentPic() {
        return equipmentPic;
    }

    public String getProvince_code() {
        return province_code;
    }

    public void setProvince_code(String province_code) {
        this.province_code = province_code;
    }

    public String getProvince_name() {
        return province_name;
    }

    public void setProvince_name(String province_name) {
        this.province_name = province_name;
    }

    public String getCity_code() {
        return city_code;
    }

    public void setCity_code(String city_code) {
        this.city_code = city_code;
    }

    public String getCity_name() {
        return city_name;
    }

    public void setCity_name(String city_name) {
        this.city_name = city_name;
    }

    public String getArea_code() {
        return area_code;
    }

    public void setArea_code(String area_code) {
        this.area_code = area_code;
    }

    public String getArea_name() {
        return area_name;
    }

    public void setArea_name(String area_name) {
        this.area_name = area_name;
    }

    public String getWay_code() {
        return way_code;
    }

    public void setWay_code(String way_code) {
        this.way_code = way_code;
    }

    public String getWay_name() {
        return way_name;
    }

    public void setWay_name(String way_name) {
        this.way_name = way_name;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public Integer getCooperationCompanyId() {
        return cooperationCompanyId;
    }

    public void setCooperationCompanyId(Integer cooperationCompanyId) {
        this.cooperationCompanyId = cooperationCompanyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public String getCommunicationProtocol() {
        return communicationProtocol;
    }

    public void setCommunicationProtocol(String communicationProtocol) {
        this.communicationProtocol = communicationProtocol;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }
}
